package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.OmcEverydayDisinfectionRecord;
import com.csun.cmny.provider.model.dto.disinfectionPosition.EverydayDisinfectionRecordSelectDto;
import com.csun.cmny.provider.model.vo.disinfectionPosition.EverydayDisinfectionRecordVo;
import com.csun.cmny.provider.model.vo.disinfectionPosition.HuaLongEveryDsftRecordVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OmcEverydayDisinfectionRecordMapper extends Mapper<OmcEverydayDisinfectionRecord> {

    List<EverydayDisinfectionRecordVo> selectEverydayDisinfectionRecord(EverydayDisinfectionRecordSelectDto everydayDisinfectionRecordSelectDto);

    /**
     * 根据楼栋号和年月查询日常消毒记录
     *
     * @param buildingNo the building no
     * @param month      the month  (yyyy-MM)
     *
     * @return the list.
     */
    List<HuaLongEveryDsftRecordVo> queryBuildingNoAndMonth(@Param("buildingNo") String buildingNo, @Param("month") String month);
}
